package com.hibase.core.page.entity.upload;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.Data;

/**
 * @author TimBrian
 * @since 2021-5-14 14:34:18
 */
@Data
public class UploadUploadXmlVo {

    @XStreamAsAttribute
    @XStreamAlias("fileBizType")
    private String fileBizType;

    @XStreamAsAttribute
    @XStreamAlias("title")
    private String title;

    @XStreamAsAttribute
    @XStreamAlias("dataIndex")
    private String dataIndex;

    /**
     * fileEnum="TEMP"
     */
    @XStreamAsAttribute
    @XStreamAlias("fileEnum")
    private String fileEnum;

    @XStreamAsAttribute
    @XStreamAlias("hidden")
    private String hidden;

    /**
     * 文件数量支持最大
     */
    @XStreamAsAttribute
    @XStreamAlias("fileCount")
    private String fileCount;

    /**
     * 文件类型，比如：xls,xlsx
     */
    @XStreamAsAttribute
    @XStreamAlias("fileType")
    private String fileType;

    /**
     * 文件支持最大:2048
     */
    @XStreamAsAttribute
    @XStreamAlias("fileSize")
    private Integer fileSize;

    @XStreamAsAttribute
    @XStreamAlias("required")
    private String required;

    @XStreamAsAttribute
    @XStreamAlias("row")
    private String row;

    @XStreamAsAttribute
    @XStreamAlias("col")
    private String col;

    @XStreamAsAttribute
    @XStreamAlias("span")
    private String span;

    /***
     * type:import导入(导入是不支持) attachment附件(支持预览)
     */
    @XStreamAsAttribute
    @XStreamAlias("type")
    private String type;

    @XStreamAsAttribute
    @XStreamAlias("pageId")
    private String pageId;
    
    /**
     * pdf,jpg
     */
    @XStreamAsAttribute
    @XStreamAlias("fileLimit")
    private String fileLimit;

   
}
